<!DOCTYPE html>
<!-- saved from url=(0036)http://www.layui.com/demo/layer.html -->
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    <title>${sysProperties.name}</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">

    <link rel="stylesheet" href="/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="/layui/css/global.css" media="all">

    <script src="/layui/layui.js"></script>
    <script>
        layui.config({
            base: '/layui/lay/modules/'
            , version: '1507265229122'
        }).use('global');

        // 引入 bms 模块
        layui.use(['jquery', 'element', 'layer', 'laydate', 'table', 'form', 'bmsglobal', 'bmsajax', 'bmstab', 'bmsdate'], function () {
            var $ = layui.$;
            var element = layui.element;
        })
    </script>

</head>
<body>
<div class="layui-layout layui-layout-admin">
    <div class="layui-header header header-demo">
        <div class="layui-main">
            <div class="layui-logo">${sysProperties.name!'BMS-Web'}</div>
            <ul class="layui-nav layui-layout-right">
                <li class="layui-nav-item">
                    <a href="javascript:;">
                    ${(Session.SPRING_SECURITY_CONTEXT.authentication.principal.username)!'Welcome'}
                    </a>
                    <dl class="layui-nav-child">
                        <dd><a href="javascript:layui.layer.msg('暂未实现');">基本资料</a></dd>
                        <dd><a href="javascript:layui.layer.msg('暂未实现');">安全设置</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item"><a href="/logout.do">退出</a></li>
            </ul>
        </div>
    </div>


    <!-- 左边栏 -->
    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
            <ul class="layui-nav layui-nav-tree" lay-filter="leftNav">
                <li class="layui-nav-item layui-nav-itemed">
                    <a class="" href="/" class="layui-this">后台首页</a>
                </li>
            </ul>
            <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
            <ul class="layui-nav layui-nav-tree" lay-filter="leftNav">
            <#list Session ['user_menu'] as data>
                <li class="layui-nav-item layui-nav-itemed">
                    <a class="" href="javascript:;">${data.group.name!'name'}</a>
                    <dl class="layui-nav-child">
                        <#list data.actions as action>
                            <dd>
                                <a href="/${action.actionurl}${sysProperties.urlSuffix}">
                                ${action.name}</a>
                            </dd>
                        </#list>
                    </dl>
                </li>
            </#list>
            </ul>
        </div>
    </div>


    <!-- 内容区 -->
    <div class="layui-tab layui-tab-brief" lay-filter="demoTitle" lay-allowclose="true">
        <!-- 工作区 -->
        <div class="layui-body layui-tab-content site-demo site-demo-body" style="top:80px;">